//
//  FIXNickName.m
//  ArtCircle
//
//  Created by sunbin on 2017/5/22.
//  Copyright © 2017年 HuaYue. All rights reserved.
//

#import "FIXNickName.h"
#import "AboutMeManage.h"

#import "AboutMeManage.h"

@interface FIXNickName ()
@property (weak, nonatomic) IBOutlet UITextField *nickName;

@end

@implementation FIXNickName
{
    UIButton*rightButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self initView];
    
}



- (void)initView{
    self.row = 1;
    self.headTitle = @"请确认两次输入的密码保持一致,密码为8位以上字符需数字字母组合";
    self.isShowHead = YES;
    
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"保存" style:UIBarButtonItemStylePlain target:self action:@selector(save)];
    
}




- (void)save{

    [AboutMeManage saveWithTy:nicknameType content:_nickName.text success:^(NSDictionary *results, NSString *successMsg) {
        
    } failed:^(WrapperEnumError errorty, NSString *msg) {
        
    }];
    
    

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}

@end
